<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // function 函数名(){}    函数名声明语法
    function sayHi(){
      alert('今天天气怎么样')
    }
    function bucuo(){
      alert('针不戳')
    }
    // 调用函数  函数名+()
    sayHi()
    bucuo()
    sayHi()
    bucuo()
    sayHi()
    bucuo()
  </script>
</body>
</html>